package zhang.utils;

public class User {
	
	private String id;
	private String password;
	private int role;
	private String name;
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public int getRole() {
		return role;
	}
	public void setRole(int role) {
		this.role = role;
	}
	
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	
	public User(String id, String password, int role, String name) {
		super();
		this.id = id;
		this.password = password;
		this.role = role;
		this.name = name;
	}
	public User() {
		super();
	}
	@Override
	public String toString() {
		return "User [id=" + id + ", password=" + password + ", role=" + role + ", name=" + name + "]";
	}
	
	
}
